/*
 * Observable.h
 *
 *  Created on: 2011-5-29
 *      Author: yangentao
 */

#ifndef OBSERVABLE_H_
#define OBSERVABLE_H_

template<typename SenderType>
class Observer {
public:
	Observer() {
	}
	virtual ~Observer() {
	}
public:
	void onChange(SenderType& sender, int msg, int);

private:
};

template<typename Holder>
class Observable {
public:
	Observable() {
	}
	virtual ~Observable() {
	}
public:
//	void add(Observer* observer)
};

#endif /* OBSERVABLE_H_ */
